<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>新浪导航栏</title>
    <style>
        .nav {
            border-top-style: solid;
            border-top-width: 3px;
            border-top-color: #ff8500;

            border-bottom-width: 1px;
            border-bottom-color: #edeef0;
            border-bottom-style: solid;

            /* border-left-width: 0px;
            border-right-width: 0px; */

        }

        .nav a {
            display: inline-block;
            text-decoration: none;
            color: #4c4c4c;
            height: 41px;
            line-height: 41px;
            padding: 0px 10px 0px;
        }

        .nav a:hover {
            background-color: #edeef0;
        }

        /* .nav {
            height: 41px;
            border-top: 3px solid #ff8500;
            border-bottom: 1px solid #edeef0;
            background-color: #fcfcfc;
            line-height: 41px;
        }

        .nav a {
            display: inline-block;
            text-decoration: none;
            height: 41px;
            color: #4c4c4c;
            padding: 0 20px;
            font-size: 12px;

        }

        .nav a:hover {
            background-color: #edeef0;
        } */
    </style>
</head>

<body>
    <div class="nav">
        <a href="#">设为首页</a>
        <a href="#">手机新浪网</a>
        <a href="#">移动客户端</a>
        <a href="#">博客</a>
        <a href="#">微博</a>
        <a href="#">关注我</a>
    </div>
</body>

</html>